package com.mall.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 类目表
 * </p>
 *
 * @author zhangshiqi
 * @since 2020-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("goods_category")
public class GoodsCategoryPo extends BasePojo implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**类目名称*/
    private String name;
    /**类目父ID*/
    @TableField(value = "parentId")
    private Integer parentId;
    /**排序*/
    private Integer sort;


}
